package com.atguigu.gmall.item;

import com.atguigu.gmall.cache.annotation.EnableAppCache;
import com.atguigu.gmall.common.config.thread.annotation.EnableThread;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.product")
@SpringCloudApplication
@EnableThread
@SpringBootApplication
//@EnableAppCache
public class ItemApplication {

    public static void main(String[] args) {

        SpringApplication.run(ItemApplication.class,args);
    }
}
